html,body{
    width: 100%;
    height: 100%;
    background-color: #e8e8e8;
    
}
main{
    display: flex;
    flex-direction: column;

    div{
        margin-bottom: 20px;
    }
    
    //头部
    .header{
        width: 100%;
        height: 200px;
        background-color: #fff;
        .first{
            font-size: 22px;
            display: flex;
            justify-content: space-around;
            align-items: center;
            margin-top: 30px;
            color: #666;

            .pic{
                position: relative;
                #renewhead{
                    object-fit: cover;
                    width: 110px;
                    height: 110px;
                    border: 2px solid #4294ff;
                    border-radius: 50%;
                    margin-bottom: 0px;
                }
                span{
                    position: absolute;
                    right: -10px;
                    bottom: -16px;
                    font-size: 39px;
                    color: orange;
                }
            }
            .user{
                position: relative;
                left: -40px;
            }
            .iconfont{
                font-size: 22px;
            }

        }
        p{
            font-size: 16px;
            margin-left: 25px;
        }
    }
    
    //动态
    .trends{
        width: 100%;
        height: 60px;
        background-color: #fff;
        display: flex;
        justify-content: space-around;
        align-items: center;
        
        .left{
            font-size: 18px;
            margin-left: -45px;
            margin-top: 10px;
            span{
                color: #4294ff;
                font-size: 26px;
                position: relative;
                top: 4px;
                
            }
        }
        .right{
            margin-top: 10px;
            margin-right: -45px;
            color: #8a8a8a;
            .iconfont{
                font-size: 22px;
            }
        }
    }
    
    //运动数据
    .sportdata{
        width: 100%;
        height: 150px;
        background-color: #fff;
        color: black;
        div{
            margin-bottom: 0;
        }
        .top{
            display: flex;
            justify-content: space-around;
            align-items: center;
            .left{
                font-size: 18px;
                margin-left: -60px;
                margin-top: 10px;
                span{
                    color: #4294ff;
                    font-size: 26px;
                    position: relative;
                    top: 4px;
                    
                }
            }
            .right{
                margin-top: 10px;
                margin-right: -60px;
                color: #8a8a8a;
                
                .iconfont{
                    font-size: 22px;
                    
                }
            }
        }
        .bottom{
            display: flex;
            justify-content: space-around;
            align-items: center;
            color: #8a8a8a;
            div{
                text-align: center;
                flex:1;
                font-size: 16px;
                .a{
                    color: #8a8a8a;
                    line-height: 35px;
                    position: relative;
                    left: -20px;
                    
                }
                .b{
                    font-size: 14px;
                    border-right: 1px dashed #bbbbbb;
                    span{
                       font-size: 40px; 
                       color: #4294ff;
                    }
                }
                
            }
        }

    }
    
    //勋章
    .medal{
        width: 100%;
        height: 150px;
        background-color: #fff;
        div{
            margin-bottom: 0;
        }
        .top{
            display: flex;
            justify-content: space-around;
            align-items: center;
            color:#000;
            .left{
                font-size: 18px;
                margin-left: -45px;
                margin-top: 10px;
                span{
                    color: #4294ff;
                    font-size: 26px;
                    position: relative;
                    top: 4px;
                    
                }
            }
            .right{
                margin-top: 10px;
                margin-right: -45px;
                color: #8a8a8a;
                
                .iconfont{
                    font-size: 22px;
                }
            }
        }
        .bottom{
            display: flex;
            justify-content: space-around;
            align-items: center;
            div{
                width: 90px;
                height: 90px;
                border-radius: 50%;
                border: 1px solid #ccc;
                margin-top: 10px;
                img{
                    width: 90px;
                    height: 90px;
                }
            }
        }
    }
    
    //退出登录
    
    .outlogin{
        width: 100%;
        height: 50px;
        background-color: #fff;
        margin-bottom: 100px;
        p{
            width: 100%;
            line-height: 50px;
            text-align: center;
            color: #4294ff;
            font-size: 18px;
        }
    }
    
}

// 尾部
.foot{
    width: 100%;
    height: 77px;
    position: fixed;
    bottom: 0px;
    display: flex;
    justify-content: space-around;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    P{
        display: flex;
        flex-direction: column;
        text-align: center;
        color: #8a8a8a;
        span{
            font-size: 45px;
        }

    }
    .active{
        color: #4294ff;
    }
}
